package com.chen.vo.emp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * ClassName: EmpUpdateReqVO
 * Package: com.chen.controller.vo.emp
 * Description:
 *
 * @Author 陈俊辉
 * @Create 2024/4/11 22:06
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Schema(description = "修改员工请求参数")
public class EmpUpdateReqVO {
    @Schema(name = "id",example = "1")
    @NotNull(message = "用户id不能为空")
    public Integer id;

    @Schema(name ="username" ,example = "北方飞雪")
    @NotNull(message = "用户名不能为空")
    private String username;



    @Schema(name = "name",example = "张韦")
    @NotNull(message = "名字不能为空")
    private String name;

    @Schema(name = "gender",example = "1")
    @NotNull(message = "性别不能为空")
    private Integer gender;

    @Schema(name="image",example = "1111")
    private String image;

    @Schema(name = "job",example = "1",description = "职位, 说明: 1 班主任,2 讲师, 3 学工主管, 4 教研主管,\n" +
            "5 咨询师")
    private Integer job;

    @Schema(name = "entrydate",example = "2010-10-10")
    private LocalDate entrydate;

    @Schema(name = "deptId",example = "1")
    private Integer deptId;
}
